<template>
  <div id="app">

    <router-view/>
  </div>
</template>

<script>
  import {getPayload} from './utils'
  export default {
    name: 'App',
    created(){
      // console.log(getPayload());
      // getPayload();
      // sessionStorage.setItem("abc",123);
    }
  }
</script>

<style>
  body{ margin:0;padding:0; }

  .header-float-right{
    float: right;
    margin-right: 10px;
  }

  .container-aside{
    width:200px!important;
  }

  .container-sidebar{
    position: absolute;
    left:0;
    bottom: 0;
    top:57px;
    width: 200px;
  }

  .login{
    position: absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    background: #fff;
    z-index:100;
  }

  /*库存小于警戒值*/
  .el-table .warning-row {
    background: #FFFACD;
  }

  /*无库存*/
  .el-table .error-row {
    background: #FFDAB9;
  }

  /*标识入库*/
  .el-table .in-row {
    background: #BCEE68;
  }

  /*标识出库*/
  .el-table .out-row {
    background: #FFE4C4;
  }

  /*标识初始化库存*/
  .el-table .init-row {
    background: #FFF68F;
  }

</style>

